package com.duoec.doc.dto.request;

import com.duoec.doc.dto.response.Article;
import com.duoec.doc.dto.response.Role;
import com.duoec.doc.dto.response.Vr;

import java.util.List;

/**
 * @author xuwenzhen
 */
public class UserSaveRequest extends BaseBidOptPageRequest {
    /**
     * 用户ID，存在则表示更新
     *
     * @demo 12323
     */
    private Long id;

    /**
     * 用户名
     *
     * @demo 张三
     * @required
     */
    private String name;

    /**
     * 角色
     */
    private Role role;

    /**
     * 文章列表
     */
    private List<Article<Vr>> vrs;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public List<Article<Vr>> getVrs() {
        return vrs;
    }

    public void setVrs(List<Article<Vr>> vrs) {
        this.vrs = vrs;
    }
}
